package com.tjnu.losca.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tjnu.losca.core.ResponseVO;
import com.tjnu.losca.pojo.Teacher;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author losca
 * @since 2021-09-16
 */
public interface ITeacherService extends IService<Teacher> {


    IPage getTeacherBySearch(int pageNum, int pageSize, String search);

    boolean del(Integer id);

    ResponseVO<String> login(String username, String password) throws Exception;

    boolean recovery(Integer id);

    boolean check(Integer id,String value);
}
